﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Peradigm.Framework.Domain.Parties;
using Peradigm.Framework.Domain.Security;
using Peradigm.Framework.Persistence;
using Liberty.Domain.CaseManagement;

namespace Liberty.Domain.ApprovalManagement
{
    [Serializable]
    public class FollowUpEvent : Event
    {
        #region Constants
        #endregion

        #region Event Handlers
        #endregion

        #region Methods

        #endregion

        #region Properties
        public Person Recipient
        {
            get
            {
                return i_Recipient;
            }
            set
            {
                i_Recipient = value;
            }
        }
       #endregion

        #region Private Methods
        #endregion

        #region Private Properties
        #endregion

        #region Construction and Finalization

        public FollowUpEvent()
        {
        }

        public FollowUpEvent(Activity action, DateTime occurredOn, User createdBy, Person recipient)
            : this(PersistentModel.NEW_OID, PersistentModel.NEW_VERSION, action, occurredOn, createdBy, recipient)
        {
        }

        public FollowUpEvent(long oid, byte[] rowLock, Activity action, DateTime occurredOn, User createdBy, Person recipient)
            : base(oid, rowLock, action, occurredOn, createdBy)
        {
            this.Recipient = recipient;            
        }
        
        #endregion

        #region Data Elements
        private Person i_Recipient;
        #endregion
    }
}
